package com.vtquang.mymaps.overlay;

import android.content.Context;
import android.content.res.Resources;
import android.graphics.BitmapFactory;

import com.google.android.maps.GeoPoint;
import com.vtquang.mymaps.R;

public class SearchLocationOverlay extends LocationOverlay{ 
	 
	public SearchLocationOverlay(GeoPoint gp, Context context) {
		super(gp, context); 
	} 
	 
	@Override
	protected void getBitmap() {
		Resources res = _context.getResources();
		_bmp = BitmapFactory.decodeResource(res, R.drawable.ic_pin_searchplace);
	}
	
	public static String getNameOverlay(){
		return "SearchLocationOverlay";
	}
	
	@Override
	public String getName() { 
		return getNameOverlay();
	}
	 
	public void setGeoPoint(GeoPoint gp){
		this._gp = gp;
	}
}
